package com.iflytek.ssm.studentmanage.service.impl;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.iflytek.ssm.studentmanage.dao.StudentMapper;
import com.iflytek.ssm.studentmanage.entity.Student;
import com.iflytek.ssm.studentmanage.service.StudentsService;


@Service
public class StudentsServiceImpl implements StudentsService {

	private static final Logger log = LoggerFactory.getLogger(StudentsServiceImpl.class);

	@Autowired
	private StudentMapper studentMapper;

	public Student getById(Integer id) {
		log.info("id={}", id);
		return studentMapper.getById(id);
	}


}
